Returns True or False to indicate if an expression is a JSONArray type.
Syntax
IsJSONArray(Value)
Arguments
| Argument | Description |
|---|---|
| Value | Expression to evaluate. |
Return value
| Value | Description |
|---|---|
| True | Expression is a JSONArray. |
| False | Expression is not a JSONArray. |
Example
' Returns True
jsonArray = JSONNewArray()
boolVal = IsJSONArray(jsonArray)
PrintLn("Should be True: " & boolVal)
' Returns False
boolVal = IsJSONArray("[1,2,3,4]")
PrintLn("Should be False: " & boolVal)